<script>
	export default {
		onLaunch: function() {
			/*
			true：微信浏览器
			false：其他浏览器
			* */
			let target = navigator.userAgent.toLowerCase();
			let isWeixin = /micromessenger/.test(target);
			
			if (isWeixin) {
				// uni.showToast({
				// 	title: '这里是微信'
				// })
				this.$nextTick(() => {
					let navTitleDom = document.getElementsByTagName('uni-page-head')
					if (navTitleDom.length) {
						navTitleDom[0].style.display = 'none'
					}
				})
			}
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import url('utils/colorui/main.css');
	@import url('utils/colorui/icon.css');
	@import "uni_modules/uview-ui/index.scss";
	@import url('static/iconfont/iconfont.css');

	.noData {
		position: absolute;
		top: 40%;
		transform: translateY(-50%);
		text-align: center;
		left: 50%;
		transform: translateX(-50%);
	}

	.uni-select__input-box {
		height: 38px !important;
	}

	.uni-select {
		height: 38px !important;
	}

	// 会员管理 修改等级 强行修改组件样式
	// .memberManagement {
	.u-popup__content {
		overflow: visible !important;

		.u-modal {
			overflow: visible !important;
		}
	}

	// }

	.table {
		margin-top: 30rpx;
	}

	.pagination {
		margin-top: 40rpx;
		padding: 0 40rpx;

		.example {
			text-align: center;
			margin-top: 20rpx;
			font-size: 14px;
			color: #666;
		}
	}

	.height-line {
		height: 6rpx;
	}

	.height-two {
		height: 10rpx;
	}

	.z-icon {
		width: 80upx;
		height: 80upx;
		vertical-align: -0.15em;
		fill: currentColor;
		overflow: hidden;
	}
</style>
